<tr {{if idx % 2 == 0}}class="ts-table-odd"{{/if}}>
    <td class="edit-op-td">
        {{if !noEdit}}
        <a class="rec-table-a js-save{{if init}} hide{{/if}}">
            保存
        </a>
        <a class="rec-table-a js-edit{{if init}}{{else}} hide{{/if}}">
            编辑
        </a>
        <a class="rec-ver-line rec-table-a">|</a>
        {{/if}}
        <a class="rec-table-a js-remove">
            删除
        </a>
    </td>
    {{each td as item idx}}
    <td>
        <span class="{{if init}}{{else}}hide{{/if}}">{{item.val}}</span>
        <input 
        data-idx="{{idx}}"
        class="{{if item.autoFill}}js-auto-fill{{/if}}{{if item.hasSelect}} js-select has-select-ipt{{/if}} {{item.className}}{{if item.onlyread}} js-ready-only{{/if}}" 
        {{if item.hasSelect || item.autoFill || item.onlyread}}readonly="readonly"{{/if}} 
        type="{{if init}}hidden{{else}}text{{/if}}" 
        data-easyform="{{if item.easyform}}{{item.easyform}}{{else}}null;{{/if}}"
        data-message="{{item.message}}"
        data-easytip="position:top;"
        data-fillname="{{item.fillName}}"
        data-msg="{{item.msg}}"
        data-reg="{{item.reg}}"
        {{if item.hasSelect}}placeholder="点击选择"{{/if}}
        value="{{if init}}{{item.val}}{{/if}}" {{if item.name}}name="{{item.name}}"{{/if}} />
        {{if item.hasSelect}}
            <i class="iconfont icon-shanchu{{if init}} hide{{/if}}"></i>
        {{/if}}
    </td>
    {{/each}}
</tr>